package adapterpattern;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: sunxu
 * @Date: 2017/10/15
 * @Time: 21:14
 * Description:
 */
public class PrintBanner extends Banner implements Print {
    public PrintBanner(String string) {
        super(string);
    }

    @Override
    public void printWeak() {
        showWithAster();
    }

    @Override
    public void printStrong() {
        showWithParen();
    }
}
